package com.itheima.stock.mapper;

import com.itheima.stock.domain.InnerMarketDomain;
import com.itheima.stock.pojo.StockMarketIndexInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
* @author 郭鑫超
* @description 针对表【stock_market_index_info(股票大盘数据详情表)】的数据库操作Mapper
* @createDate 2023-02-23 14:40:41
* @Entity com.itheima.stock.pojo.StockMarketIndexInfo
*/
@Mapper
public interface StockMarketIndexInfoMapper {
    List<InnerMarketDomain> selectByIdsAndDate(@Param("ids") List<String> innerMarketCode, @Param("date") Date date);

    List<Map>  getTradevol(@Param("inners") List<String> inner,@Param("openTime") String openTime,@Param("enfTime") String enfTime);

    void insertList(@Param("lists") ArrayList<StockMarketIndexInfo> stockMarketIndexInfos);
}




